<template>
  <div class="company">
      <div class="header">
        <div class="image">
            <img src="../../../../static/img/logo_1.png" alt="">
        </div>
        <h2>企业介绍</h2>
        <div class="image-1">
            <router-link to="/CompanyIntroduction">
                <img src="../../../../static/img/right.png" alt="">
            </router-link>
        </div>
      </div>
      <div class="content">
        <div class="right">
            <img :src="this.companys.cover" alt="" align="left"  hspace="4" vspace="1">
            <p>{{this.companys.excerpt}}</p>
        </div>
      </div>
      <span></span>
  </div>
</template>
<script>
export default {
  name: 'Company',
  data(){
      return {
          companys: []
      }
  },
  created(){
      this.axios.get('/articles/page/about',{
          params: {
              id: 1,
              type: 'mobile'
          }
      })
      .then((res) => {
          this.companys = res.data.data;
         
      })
      .catch((error) => {
          console.log(error)
      })
  }
}
</script>
<style scoped>
.company{
    width: 100%;
    height: auto;
    margin-top: .24rem;
}
.company .header{
    width: 100%;
    height: .53rem;
}
.company .header .image{
    width: .53rem;
    height: .53rem;
    float: left;
    margin-left: .2rem;
}
.company .header .image img{
    width: 100%;
    height: auto;
}
.company .header h2{
    font-size: .3rem;
    color: #1d2977;
    float: left;
    font-weight: bold;
}
.company .header .image-1{
    float: right;
    width: .32rem;
    height: .32rem;
    margin-right: .2rem;
    margin-top: .1rem;
}
.company .header .image-1 img{
    width: 100%;
    height: auto;
}
.company .content{
    width: 100%;
    height: 2.04rem;
    margin-top: .3rem;
    margin-bottom: .4rem;
}
.company .content .right{
    width: 6.7rem;
    height: auto;
    float: left;
    margin-left: .4rem;
    overflow: hidden;
}
.company .content .right img{
    width: 3rem;
    height: auto;
}
.company .content .right p{
    width: 100%;
    height: auto;
    font-size: 14px;
    color: #333;
}
.company span{
    width: 100%;
    height: 0;
    border-bottom: .2rem solid #e8e8e8;
    display: inline-block;
}
@media screen and (max-width: 320px) and (min-width: 320px) {
.company .content .right{
    width: 6.7rem;
    height: 3.7rem;
    float: left;
    margin-left: .4rem;
    overflow: hidden;
}
}  
@media screen and (max-width: 360px) and ( min-width: 360px){
.company .content .right{
    width: 6.7rem;
    height: 3.5rem;
    float: left;
    margin-left: .4rem;
    overflow: hidden;
}
}  
@media screen and (max-width: 412px) and ( min-width: 411px){
.company .content .right{
    width: 6.7rem;
    height: 2.9rem;
    float: left;
    margin-left: .4rem;
    overflow: hidden;
}
}  
</style>
